home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
SPACE 1
/
SPACE - Library 1 - Volume 1.iso
/
program
/
385
/
prg_2
/
prg_2ar.s
< prev
next >
Wrap
Text File
|
1985-11-19
|
514b
|
16 lines
; Program Name: RELOCATE.S
; aka: PRG_2AR.S
move.l up_1, d0
move.l up_2, d0
move.l #-4, d0 ; The statement below will resemble this one
; after assembly. Both are relocatable.
move.l #up_1-up_2,d0 ; This is Mr. Schulz's example.
move.l up_1-up_2, d0 ; I think he meant to use this type of example,
data ; because this one does cause a problem.
pointer: dc.l up_1
up_1: dc.l 5
up_2: dc.l 3
end